package com.gtw.modules.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 优惠基础数据
 */
public class TbDiscount implements Serializable{

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private Integer id;
    /**
     * 优惠名称
     */
    private String name;
    /**
     * 首购优惠比例
     */
    private Double firstDiscount;
    /**
     * 复购优惠比例
     */
    private Double discount;
    /**
     * 类型（0：会员优惠   1：代理优惠）
     */
    private Integer type;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 创建人
     */
    private String createuser;
    /**
     * 修改时间
     */
    private Date updatetime;
    /**
     * 修改人
     */
    private String updateuser;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getFirstDiscount() {
        return firstDiscount;
    }

    public void setFirstDiscount(Double firstDiscount) {
        this.firstDiscount = firstDiscount;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getCreateuser() {
        return createuser;
    }

    public void setCreateuser(String createuser) {
        this.createuser = createuser == null ? null : createuser.trim();
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser == null ? null : updateuser.trim();
    }
}